import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import vuetify from './plugins/vuetify';
import i18n from './locales';
import { sync } from 'vuex-router-sync'
import table from '@/directive/el-table'
import permission from '@/directive/permission'
import config from './config'
import './plugins'
import './permission'
import 'roboto-fontface/css/roboto/roboto-fontface.css'
import '@mdi/font/css/materialdesignicons.css'

// Vue.config.silent = true

Vue.prototype.$config = config

Vue.use(permission)
Vue.use(table)

sync(store, router)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  vuetify,
  i18n,
  render: h => h(App)
}).$mount('#app')
